update prescription details